package com.quanz.ckgl.mvc;

import java.io.Serializable;

/**
 * 用于向DataTables传递数据的包装对象
 * 
 * @author James Quan
 * @version 2015年10月4日 下午7:47:35
 */
public class DataTablesResponse implements Serializable {
	private int draw;
	private int recordsTotal;
	private int recordsFiltered;
	private Object[] data;
	private String error;

	public int getDraw() {
		return draw;
	}
	
	public void setDraw(int draw) {
		this.draw = draw;
	}
	
	public int getTotalRecords() {
		return recordsTotal;
	}

	public void setTotalRecords(int recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	public int getRecordsFiltered() {
		return recordsFiltered;
	}

	public void setRecordsFiltered(int recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}

	public Object[] getData() {
		return data;
	}

	public void setData(Object[] data) {
		this.data = data;
	}
	
	public String getError() {
		return error;
	}
	
	public void setError(String error) {
		this.error = error;
	}
}
